package com.xinz.srmi;

import com.xinz.srmi.impl.ZipBinarySerializer;
/**
 * 共享配置
 * @author xingyun
 *
 */
public interface ShareConfig {
	/**
	 * 序列化接口的配置
	 * @return
	 */
	Serializer getSerializer();
	public static class Default implements ShareConfig{
		Serializer serializer = new ZipBinarySerializer();
		@Override
		public Serializer getSerializer() {
			return serializer;
		}
	}
}
